package com.shushan.home.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: AppDialogBean
 * @Desciption: //TODO
 * @author: yichaohua
 * @date: 2018-11-05
 */
public class AppDialogBean extends NetBaseBean {

    public int id;
    public int type;
    public String name;
    public String pic;
    public String url;
    public String android_name;

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        id = jsonObject.optInt("id",0);
        type = jsonObject.optInt("type",0);
        name = jsonObject.optString("name","");
        pic = jsonObject.optString("pic","");
        url = jsonObject.optString("url","");
        android_name = jsonObject.optString("android_name","");
    }
}
